<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/layout-adminlte}" >
<head>
    <title>空间列表</title>
</head>
<body>
    <ul class="nav nav-pills nav-sidebar flex-column nav-flat nav-compact nav-child-indent" data-widget="treeview" role="menu" data-accordion="false"
    th:include="fragments/common-adminlte::menu(${'/admin/space/list'})" layout:fragment="menu"></ul>
    <div layout:fragment="content">
        <table class="table table-bordered table-striped">
            <thead>
            <tr>
                <th class="text-center">空间唯一ID</th>
                <th>空间名称</th>
                <th>地址</th>
                <th>创建时间</th>
                <th>创建人</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="item:${space}">
                <td class="text-center" th:utext="${item.spaceId}">1</td>
                <td class="text-center" th:utext="${item.blogName}">1</td>
                <td class="text-center" th:utext="${item.spaceName}">1</td>
                <td class="text-center" th:utext="${item.createDate}">1</td>
                <td class="text-center" th:utext="${item.createUser.username}">1</td>
            </tr>
            </tbody>
        </table>
    </div>
</body>
</html>